object frmCropKPI: TfrmCropKPI
  Left = 401
  Top = 191
  BorderStyle = bsNone
  Caption = 'frmCropKPI'
  ClientHeight = 458
  ClientWidth = 854
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  WindowState = wsMaximized
  PixelsPerInch = 96
  TextHeight = 13
  object RzPageControl1: TRzPageControl
    Left = 0
    Top = 0
    Width = 854
    Height = 458
    ActivePage = TabSheet1
    Align = alClient
    TabIndex = 0
    TabOrder = 0
    FixedDimension = 19
    object TabSheet1: TRzTabSheet
      Caption = #20316#29289#28798#23475#25351#26631#19968#35272#34920
      object RzGroupBox1: TRzGroupBox
        Left = 16
        Top = 8
        Width = 801
        Height = 361
        TabOrder = 0
        object Label7: TLabel
          Left = 562
          Top = 16
          Width = 33
          Height = 13
          AutoSize = False
          Caption = #25514#26045
        end
        object DBGridEh1: TDBGridEh
          Left = 16
          Top = 14
          Width = 193
          Height = 323
          DataGrouping.GroupLevels = <>
          DataSource = DataSource1
          EvenRowColor = clWindow
          Flat = True
          FooterColor = clWindow
          FooterFont.Charset = DEFAULT_CHARSET
          FooterFont.Color = clWindowText
          FooterFont.Height = -11
          FooterFont.Name = 'MS Sans Serif'
          FooterFont.Style = []
          Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
          OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghColumnResize, dghColumnMove]
          RowDetailPanel.Color = clBtnFace
          RowHeight = 4
          RowLines = 1
          TabOrder = 0
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'MS Sans Serif'
          TitleFont.Style = []
          UseMultiTitle = True
          VertScrollBar.VisibleMode = sbNeverShowEh
          Columns = <
            item
              EditButtons = <>
              FieldName = 'ID'
              Footers = <>
              Visible = False
            end
            item
              EditButtons = <>
              FieldName = 'CropName'
              Footers = <>
              Title.Caption = #20316#29289#23646#24615'|'#20316#29289#21517#31216
              Width = 100
            end
            item
              EditButtons = <>
              FieldName = 'Memo'
              Footers = <>
              Title.Caption = #20316#29289#23646#24615'|'#22791#27880
              Width = 80
            end>
          object RowDetailData: TRowDetailPanelControlEh
          end
        end
        object DBGridEh2: TDBGridEh
          Left = 215
          Top = 14
          Width = 338
          Height = 321
          DataGrouping.GroupLevels = <>
          DataSource = DataSource2
          EvenRowColor = clWindow
          Flat = True
          FooterColor = clWindow
          FooterFont.Charset = DEFAULT_CHARSET
          FooterFont.Color = clWindowText
          FooterFont.Height = -11
          FooterFont.Name = 'MS Sans Serif'
          FooterFont.Style = []
          Options = [dgTitles, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit]
          OptionsEh = [dghFixed3D, dghHighlightFocus, dghClearSelection, dghDialogFind, dghColumnResize, dghColumnMove]
          RowDetailPanel.Color = clBtnFace
          TabOrder = 1
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'MS Sans Serif'
          TitleFont.Style = []
          UseMultiTitle = True
          VertScrollBar.VisibleMode = sbNeverShowEh
          Columns = <
            item
              EditButtons = <>
              FieldName = 'CropName'
              Footers = <>
              Visible = False
              Width = 80
            end
            item
              EditButtons = <>
              FieldName = 'GrowName'
              Footers = <>
              Title.Caption = #21457#32946#26399
              Width = 80
            end
            item
              EditButtons = <>
              FieldName = 'Light'
              Footers = <>
              Title.Caption = #21463#28798#31243#24230'|'#36731
              Width = 80
            end
            item
              EditButtons = <>
              FieldName = 'Middle'
              Footers = <>
              Title.Caption = #21463#28798#31243#24230'|'#20013
              Width = 80
            end
            item
              EditButtons = <>
              FieldName = 'Heavy'
              Footers = <>
              Title.Caption = #21463#28798#31243#24230'|'#37325
              Width = 80
            end
            item
              EditButtons = <>
              FieldName = 'ID'
              Footers = <>
              Visible = False
            end>
          object RowDetailData: TRowDetailPanelControlEh
          end
        end
        object RzDBRichEdit1: TRzDBRichEdit
          Left = 560
          Top = 56
          Width = 225
          Height = 281
          DataField = 'Measure'
          DataSource = DataSource2
          Font.Charset = GB2312_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
          TabOrder = 2
        end
      end
    end
    object TabSheet2: TRzTabSheet
      Caption = #25351#26631#32500#25252
      object RzGroupBox2: TRzGroupBox
        Left = 16
        Top = 16
        Width = 225
        Height = 393
        Caption = #20316#29289#31649#29702
        TabOrder = 0
        object Label1: TLabel
          Left = 12
          Top = 24
          Width = 57
          Height = 13
          AutoSize = False
          Caption = #20316#29289#21517#31216
        end
        object Label2: TLabel
          Left = 16
          Top = 61
          Width = 24
          Height = 13
          Caption = #22791#27880
        end
        object RzDBEdit1: TRzDBEdit
          Left = 72
          Top = 20
          Width = 121
          Height = 21
          DataSource = DataSource1
          DataField = 'CropName'
          TabOrder = 0
        end
        object RzDBEdit2: TRzDBEdit
          Left = 72
          Top = 55
          Width = 121
          Height = 21
          DataSource = DataSource1
          DataField = 'Memo'
          TabOrder = 1
        end
        object Button1: TButton
          Left = 16
          Top = 344
          Width = 75
          Height = 25
          Caption = #26032#22686
          TabOrder = 2
          OnClick = Button1Click
        end
        object Button2: TButton
          Left = 120
          Top = 344
          Width = 75
          Height = 25
          Caption = #26356#26032
          TabOrder = 3
          OnClick = Button2Click
        end
      end
      object RzGroupBox3: TRzGroupBox
        Left = 301
        Top = 17
        Width = 316
        Height = 391
        Caption = #21457#32946#26399#31649#29702
        TabOrder = 1
        object Label3: TLabel
          Left = 8
          Top = 24
          Width = 57
          Height = 13
          AutoSize = False
          Caption = #21457#32946#26399
        end
        object Label4: TLabel
          Left = 8
          Top = 56
          Width = 12
          Height = 13
          Caption = #36731
        end
        object Label5: TLabel
          Left = 8
          Top = 80
          Width = 12
          Height = 13
          Caption = #20013
        end
        object Label6: TLabel
          Left = 8
          Top = 120
          Width = 12
          Height = 13
          Caption = #37325
        end
        object Label8: TLabel
          Left = 8
          Top = 148
          Width = 45
          Height = 13
          AutoSize = False
          Caption = #25514#26045
        end
        object Button3: TButton
          Left = 224
          Top = 344
          Width = 75
          Height = 25
          Caption = #26356#26032
          TabOrder = 0
          OnClick = Button3Click
        end
        object Edit1: TEdit
          Left = 70
          Top = 20
          Width = 223
          Height = 21
          TabOrder = 1
        end
        object Edit2: TEdit
          Left = 70
          Top = 49
          Width = 223
          Height = 21
          TabOrder = 2
        end
        object Edit3: TEdit
          Left = 70
          Top = 80
          Width = 223
          Height = 21
          TabOrder = 3
        end
        object Edit4: TEdit
          Left = 70
          Top = 114
          Width = 223
          Height = 21
          TabOrder = 4
        end
        object Memo1: TMemo
          Left = 70
          Top = 144
          Width = 225
          Height = 65
          TabOrder = 5
        end
      end
    end
  end
  object ADOQueryCrop: TADOQuery
    Active = True
    Connection = dm.ADOConn
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'select * from crop')
    Left = 112
    Top = 328
  end
  object ADOQuery1: TADOQuery
    Active = True
    Connection = dm.ADOConn
    CursorType = ctStatic
    DataSource = DataSource1
    Parameters = <
      item
        Name = 'id'
        Attributes = [paNullable]
        DataType = ftInteger
        NumericScale = 255
        Precision = 255
        Value = 1
      end>
    SQL.Strings = (
      'select * from cropkpi where id=:id')
    Left = 160
    Top = 224
  end
  object DataSource1: TDataSource
    DataSet = ADOQueryCrop
    Left = 97
    Top = 284
  end
  object DataSource2: TDataSource
    DataSet = ADOQuery1
    Left = 169
    Top = 276
  end
  object ADOQueryGrow: TADOQuery
    Connection = dm.ADOConn
    CursorType = ctStatic
    Parameters = <
      item
        Name = 'cropid'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 510
        Value = Null
      end
      item
        Name = 'growname'
        Attributes = [paNullable]
        DataType = ftWideString
        NumericScale = 255
        Precision = 255
        Size = 510
        Value = Null
      end>
    SQL.Strings = (
      'insert into growdura(cropid,growname ) values(:cropid,:growname)')
    Left = 347
    Top = 325
    object ADOQueryGrowID: TAutoIncField
      AutoGenerateValue = arAutoInc
      FieldName = 'ID'
      ProviderFlags = [pfInWhere]
      ReadOnly = True
    end
    object ADOQueryGrowCropID: TIntegerField
      FieldName = 'CropID'
    end
    object ADOQueryGrowGrowName: TWideStringField
      FieldName = 'GrowName'
      Size = 255
    end
  end
  object DataSource3: TDataSource
    DataSet = ADOQueryGrow
    Left = 347
    Top = 261
  end
end
